<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>aiengine: Main Page</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">aiengine
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li class="current"><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('index.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">aiengine Documentation</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>Math Engine (ME) Run Time Software (RTS) Driver is a congregation of software based APIs for the PS application to configure/initialize/program the AIE array and shim.The layered software stack of the AIE RTS driver is shown below : </p>
<hr/>
 <h2>| Application layer (Cardano interface/PS app call) | </h2>
<p>| </p>
<h2>| </h2>
<h2>| AIE RTS driver | </h2>
<p>| </p>
<h2>| </h2>
<h2>| AIE simulator / LibMetal | </h2>
<p>The Driver APIs are typically invoked by the Cardano tool flow as part of the PS application generation. The APIs can also be directly invoked by the user application for performing any runtime configuration like partial reconfiguration etc.</p>
<p>AIE driver is partitioned into the following sub-components :</p>
<ul>
<li>AIE Global Driver<ul>
<li>APIs for device/configuration lookup, global driver instantiation and initialization and generic APIs commonly used by other components</li>
</ul>
</li>
<li>AIE Tile Driver<ul>
<li>APIs for configuring the Tile resources: Core, Program memory, Data memory, Locks, Stream switch, Events</li>
<li>APIs for configuring the Shim resources: NoC and PL interfaces, Stream switch, Events</li>
</ul>
</li>
<li>AIE DMA Driver<ul>
<li>APIs for configuring the Tile DMA S2MM and MM2S channels</li>
<li>APIs for configuring Shim DMA S2MM,MM2S channels and Locks</li>
</ul>
</li>
<li>AIE low level library layer<ul>
<li>APIs to interface with the underlying target platform</li>
</ul>
</li>
</ul>
<p>AIE driver will be common for all the Math Engine devices. So in the similar lines of xparameters.h for other standalone drivers, AIE driver also needs the following device related parameters :</p>
<ul>
<li>AIE Array base address</li>
<li>Number of Rows</li>
<li>Number of Columns</li>
<li>Interrupt IDs</li>
</ul>
<p>These parameters can be passed to the AIE driver in the similar lines of any other standalone driver i.e., in the form of compile time parameters from xparameters.h or in the form of a runtime configuration object etc.</p>
<p>AIE RTS driver provides a suite of APIs to be invoked by the application layer and also a low level interface abstraction for the driver APIs to interface with the low level target specific APIs. These low level target APIs are in turn used to talk to the underlying target platform with typical AXI read and write transactions.</p>
<p>Following are the features of the AIE RTS driver APIs :</p>
<ul>
<li>Non re-entrant and not thread safe</li>
<li>Implemented as bare-metal</li>
<li>Implemented as blocking calls</li>
</ul>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who     Date     Changes
</p>
<hr/>
<p>
1.0  Naresh  03/14/2018  Initial creation
1.1  Naresh  04/12/2018  Code changed to fix CR#999685
1.2  Naresh  05/23/2018  Updated code to fix CR#999693
1.3  Naresh  06/18/2018  Updated code as per standalone driver framework
1.4  Naresh  07/11/2018  Updated copyright info
1.5  Nishad  12/05/2018  Renamed ME attributes to AIE
1.6  Wendy   01/10/2020  Add tile location type
1.7  Wendy   01/20/2020  Add events handlers for each events
1.7  Wendy   02/24/2020  Add errors handlers for each error
</pre> </div></div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
